<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>jquery -2</title>
		<script src="../js/jquery-3.4.1.min.js"></script>
		<script>
		$(function(){
			jQuery("div").text("这是一个Div");//$("div")
			//$("#slogon").css("font-size","100px");
			$("#slogon").css({"font-size":"20px","border":"5px solid green"});
			alert("原来的位置:"+$("#slogon").attr("align"));
			$("#slogon").attr("align","right");
		});
		</script>
	</head>
	<body>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<div></div>
		<p id="slogon" align="left">
			王凯旋回家相亲结婚生娃!
		</p>
	</body>
</html>
